/*
 * @(#)UserMember.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.user.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  UserMember.java

  This class is the serializable bean reflecting business logic uses.

    @author           Jenny Li
    @company          DCIVision Limited
    @creation date    27/10/2004
    @version          $Revision: 1.1 $
*/

public class UserMember extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.1 $";

  public final static String MEMBER_TYPE_USER = "U";
  public final static String MEMBER_TYPE_GROUP = "G";
  public final static String MEMBER_TYPE_ROLE = "R";
  
  public final static String OPMODE_ADD_USER="ADD_USER";
  public final static String OPMODE_ADD_GROUP="ADD_GROUP";
  public final static String OPMODE_ADD_ROLE="ADD_ROLE";

  private Integer roleID = null;
  private String memberName = null;
  private String memberType = null;
  private String memberDesc = null;

  public UserMember() {
    super();
  }

  public Integer getRoleID() {
    return(this.roleID);
  }

  public void setRoleID(Integer roleID) {
    this.roleID = roleID;
  }

  public String getMemberName() {
    return(this.memberName);
  }

  public void setMemberName(String memberName) {
    this.memberName = memberName;
  }

  public String getMemberType() {
    return(this.memberType);
  }

  public void setMemberType(String memberType) {
    this.memberType = memberType;
  }

  public String getMemberDesc() {
    return(this.memberDesc);
  }

  public void setMemberDesc(String memberDesc) {
    this.memberDesc = memberDesc;
  }

}
